|
canlinsbc 2.2.0
|
CAN-LIN SBC Click example. More...
Macros | |
| #define | DEMO_APP_TRANSMITTER |
| #define | DEMO_TEXT_MESSAGE "MIKROE - CAN-LIN SBC Click board\r\n" |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
CAN-LIN SBC Click example.
This example demonstrates the use of an CAN-LIN SBC Click board by showing the communication between the two Click boards.
The demo application is composed of two sections :
Initializes the driver and logger, and performs the Click default configuration.
Depending on the selected application mode, it reads all the received data or sends the desired message once per second.
| #define DEMO_APP_TRANSMITTER |
| #define DEMO_TEXT_MESSAGE "MIKROE - CAN-LIN SBC Click board\r\n" |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |